<div class="box">
<div class="service-level box-body row">
		<!-- BOX-BODY -->
		<h3 class="col-sm-12 base-imformation">
			<span class="inline-block" style="float:left;">基础信息</span>
			<p class="user-add-btn inline-block">
				{{#if detailEdit}}
				{{else}}
					{{#ui/form-function editAction="detailEditClick" detailEditClick="detailEditClick"
					removeAction="delById" delById="delById" clickActParams=serviceLevelInfo}}
					{{/ui/form-function}}
				{{/if}}
			</p>
		</h3>
		<div class="col-sm-12 mr10 " style="width:98.5%;">
  		<div class="nopadding-vertical">
				<!-- 列表编辑-->
					{{#bs-form formLayout=formLayout model=serviceLevelModel invalid=(action "invalid")}}
				<div class="row">
						<div class="col-xs-12 nopadding-horizontal mb20">
							<div class="col-xs-12 col-sm-6">
								<div class="form-input-group label-normal">
									<span class="input-group-addon">等级名称：</span>
									{{#if detailEdit}}
										{{#if id}}
											{{bs-form-element property="name" class="inline-block form-input-group label-normal" controlType="name" placeholder='等级名称(必填)'}}
										{{else}}
											{{bs-form-element property="name" class="inline-block form-input-group label-normal" controlType="name" placeholder='等级名称(必填)'}}
										{{/if}}
									{{else}}
										<div class="input-group-content">{{serviceLevelInfo.name}}</div>
									{{/if}}
								</div>
							</div>
							<div class="col-xs-12 col-sm-6 nopadding-right">
								<div class="form-input-group label-normal">
									<span class="input-group-addon">自理类型：</span>
									{{#if detailEdit}}
										{{#if id}}
											{{#bs-form-element class="inline-block form-input-group" controlType="selfCareLevel"  property="selfCareLevel" }}
												{{callbusi/dict-selector class="inline-block" curDict=serviceLevelInfo.selfCareLevel groupCode=constants.selfCareLevel placeholder='等级名称(必填)'
													showName=serviceLevelModel.selfCareLevel.typename value=serviceLevelInfo.selfCareLevel chooseMany=true dictSelect="levelSelect" preselected=false}}
											{{/bs-form-element}}
										{{else}}
											{{#bs-form-element class="inline-block form-input-group" controlType="selfCareLevel"  property="selfCareLevel" }}
												{{callbusi/dict-selector class="inline-block" curDict=serviceLevelInfo.selfCareLevel groupCode=constants.selfCareLevel placeholder='等级名称(必填)'
													showName='必填' value=serviceLevelModel.selfCareLevel preselected=false chooseMany=true dictSelect="levelSelect"}}
											{{/bs-form-element}}
										{{/if}}
									{{else}}
										<div class="input-group-content">{{serviceLevelInfo.selfCareLevelName}}</div>
									{{/if}}
								</div>
							</div>
							<div class="col-xs-12 col-sm-6">
								<div class="form-input-group label-normal">
									<span class="input-group-addon">价格(元/天)：</span>
									{{#if detailEdit}}
										{{#if id}}
											{{bs-form-element property="price" class="inline-block form-input-group label-normal" controlType="price" placeholder='价格(必填)'}}
										{{else}}
											{{bs-form-element property="price" class="inline-block form-input-group label-normal" controlType="price" placeholder='价格(必填)'}}
										{{/if}}
									{{else}}
										<div class="input-group-content">{{serviceLevelInfo.price}}</div>
									{{/if}}
								</div>
							</div>
							<div class="col-xs-12 col-sm-12 mt10 nopadding-right">
								<div class="form-input-group label-normal">
									<span class="input-group-addon">备注说明：</span>
									{{#if detailEdit}}
										{{#if id}}
											{{textarea type="text" class="full-width inline-block form-input-group label-normal form-control" value=serviceLevelModel.remark}}
										{{else}}
											{{textarea type="text" class="full-width inline-block form-input-group label-normal form-control" value=serviceLevelModel.remark}}
										{{/if}}
									{{else}}
										<div class="input-group-content">{{serviceLevelInfo.remark}}</div>
									{{/if}}
								</div>
							</div>
						</div>
				</div>
				<!-- 列表编辑 -->
				{{/bs-form}}
  		</div>
		</div>
		<!-- <h3 class="col-sm-12 base-imformation">护理项目</h3>
		<div class="col-sm-12 nopadding-left nopadding-right">
			{{#each allServiceList as |service|}}
				<div class="{{if media.isJumbo 'col-lg-3' 'col-sm-4'}} service">
					{{callbusi/service-list-item class="inline-block" service=service flags=flags chooseService="chooseService" chooseService=(action 'chooseService' service) detailEdit=detailEdit}}
				</div>
			{{/each}}
		</div> -->
		<div class="col-sm-12">
			<div class="text-center padding-top30">
					<p class="text-center user-add-btn" style="display:inline-block;margin:0 auto!important ">
					{{#if detailEdit}}
					{{#ui/mix-button class="user-btn edit-btn" iconClass="fa fa-check"  text='保存' clickAction="detailSaveClick" detailSaveClick="detailSaveClick" clickActParams=serviceLevelModel}}
					{{/ui/mix-button}}
					{{#ui/mix-button class="user-btn times-btn" iconClass="fa fa-mail-reply"  text='取消'  clickAction="detailCancel" detailCancel="detailCancel" }}
					{{/ui/mix-button}}
					{{else}}
					{{/if}}
					</p>
			</div>
		</div>
	</div>
</div>
{{#if showpopInvitePassModal}}
	{{#bs-modal body=false footer=false header=false}}
		{{#bs-modal-header}}
			<h3 class="modal-title">删除提示</h3>
		{{/bs-modal-header}}
		{{#bs-modal-body}}
			<h4 class="modal-title">是否删除该条记录？</h4>
		{{/bs-modal-body}}
		{{#bs-modal-footer as |footer|}}
			{{#bs-button action=(action "cancelPassSubmit" serviceLevelInfo) type="primary" disabled=prepaidDisabled}}确定{{/bs-button}}
			{{#bs-button action=(action "invitation") type="default"}}取消{{/bs-button}}
		{{/bs-modal-footer}}
	{{/bs-modal}}
{{/if}}
